<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        
        #example1 {
            background-image: url(./css/xuehao.jpg);
            background-repeat: no-repeat;
            padding: 15px;
            width: 30%;
        }
        tbody{
            margin: 0;
            padding: 0;
            text-align: center;
        }
        caption{
            font-size: 20px;
        }
    </style>
</head>
<body>
    <div id="example1">

        <table border="1" cellspacing="0" style="background-color: aquamarine;">
        <caption>成绩表</caption>
        <tr>
            <th>姓名</th>
            <th>语文</th>
            <th>数学</th>
            <th>总分</th>
        </tr>
        <tr>
            <td>安可可</td>
            <td>80</td>
            <td>20</td>
            <td>100</td>
        </tr>
        <tr>
            <td>李小璐</td>
            <td>60</td>
            <td>58</td>
            <td>118</td>
        </tr>
        </table>
        <hr>
    
        <table border="1" cellspacing="0" style="width: 400px;height: 300px;">
            <tr>
                <td colspan="2">1占两列</td>
                <td colspan="2">2占两列</td>
                <td colspan="2" rowspan="3">4占三行两列</td>
            </tr>
            <tr>
                <td colspan="2">1</td>
                <td>2</td>
                <td>3</td>
            </tr>
            <tr>
                <td colspan="2">1</td>
                <td>2</td>
                <td>3</td>
            </tr>
            <tr>
                <td colspan="2">1</td>
                <td>2</td>
                <td>3</td>
                <td>4</td>
                <td>5</td>
            </tr>
            <tr>
                <td colspan="2">1</td>
                <td>2</td>
                <td>3</td>
                <td>4</td>
                <td>5</td>
            </tr>
            <tr>
                <td colspan="2">1</td>
                <td>2</td>
                <td>3</td>
                <td>4</td>
                <td>5</td>
            </tr>
            <tr>
                <td colspan="4">1占三列</td>
                <td>4</td>
                <td>5</td>
            </tr>
            <tr>
                <td colspan="7">1</td>
            </tr>
        </table>
        <hr>
        <tbody>
            <caption>复杂完整的成绩表</caption>
            <table border="1" cellspacing="0">
                <thead></thead>
                <tr>
                    <th rowspan="2">姓名</th>
                    <th colspan="2">通识课</th>
                    <th colspan="3">专业课</th>
                    <th rowspan="2">总分</th>
                </tr>
                <tr>
                    <th>英语</th>
                    <th>高数</th>
                    <th>UI设计</th>
                    <th>网页设计</th>
                    <th>程序设计</th>
                </tr>
                <tr>
                    <th>张三</th>
                    <td>60</td>
                    <td>60</td>
                    <td>60</td>
                    <td>60</td>
                    <td>60</td>
                    <td>300</td>
                </tr>
                <tr>
                    <th>张三</th>
                    <td>60</td>
                    <td>60</td>
                    <td>60</td>
                    <td>60</td>
                    <td>60</td>
                    <td>300</td>
                </tr>
                <tr>
                    <th>张三</th>
                    <td>60</td>
                    <td>60</td>
                    <td>60</td>
                    <td>60</td>
                    <td>60</td>
                    <td>300</td>
                </tr>
                <tr>
                    <th>张三</th>
                    <td>60</td>
                    <td>60</td>
                    <td>60</td>
                    <td>60</td>
                    <td>60</td>
                    <td>300</td>
                </tr>
                <tr>
                    <th>平均</th>
                    <td>60</td>
                    <td>60</td>
                    <td>60</td>
                    <td>60</td>
                    <td>60</td>
                    <td>300</td>
                </tr>
            </table>
            <tfoot>以上纯属虚构</tfoot>
        </tbody>
    </div>
    <!-- <div><a href="./zhuceindex.html">用户注册表</a></div> -->

    
</body>
</html>